#ifndef __MSGQUEUE_H__
#define __MSGQUEUE_H__

	#define MSG_STATUS_VALID		1
	#define MSG_STATUS_INVALID	    0

	typedef struct
	{
		UINT8 Status;
		UINT8 ID;
		UINT8 CtlCode;
		UINT8 Level;
		void *pParam;
	}mMsg;

	extern UINT32 MsgQueue_GetValidMsg(mMsg *pMsg, UINT8 *pIndex);
	extern UINT32 MsgQueue_SetInvalidMsg(UINT8 Index);
	extern UINT32 MsgQueue_SendMsg(mMsg *pMsg);

#endif
